<template>
  <div id="huawei">
    <div class="left">
      <div>
        <router-link to="/huawei">首页</router-link>
      </div>
      <div>
        <router-link to="/huawei/detail">详情</router-link>
      </div>
    </div>
    <div class="right">
      <router-view></router-view>
    </div>

  </div>
</template>

<script>

export default {
  name: 'App',
  data () {
    return {}
  }
}
</script>

<style>
#huawei {
  display: flex;
  height: calc(100vh);
}
#huawei .left {
  width: 200px;
  height: 100%;
  background: #eeee;
  flex-shrink: 0;
}
#huawei .left > div {
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
</style>
